﻿namespace GreenIsomer.Data.Entities.Ddl {
	using System;
	using System.Xml.Serialization;

	[Serializable]
	[XmlInclude(typeof(BooleanDefault))]
	[XmlInclude(typeof(NumericDefault))]
	[XmlInclude(typeof(StringDefault))]
	public class ExtendedTableDef : TableBase {

		[NonSerialized]
		private DefaultValueCollection defaultValues;

		public ExtendedTableDef() {
			defaultValues = new DefaultValueCollection();
		}

		[XmlElement("DefaultValue")]
		public DefaultValueCollection DefaultValues {
			get { return defaultValues; }
		}

	}

}